﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NyxBot
{
    public partial class frmMain : Form
    {

        public frmTemplate frmDebug = new frmTemplate();

        public frmMain()
        {
            InitializeComponent();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            // Title, only temporary; replace with something cleaner later
            Version v = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
            this.Text = "NyxBot " + v.ToString();

            // Display a debug template for now.
            frmDebug.MdiParent = this;
            frmDebug.WindowState = FormWindowState.Maximized;
            frmDebug.Text = "Debug Console";
            frmDebug.Show();

            // Create test BNCS client
            clsBNCS bncs = new clsBNCS(new clsConfig());

        }

        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // About menu
            frmAbout about = new frmAbout();
            about.Show();
        }
    }
}
